<!DOCTYPE html>
<html lang="en">
	<head>
		<title> New Document </title>
		<meta charset="utf-8">
		<meta name="Author" content="">
		<meta name="Keywords" content="">
		<meta name="Description" content="">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- Bootstrap -->
		<link href="../../resources/css/bootstrap.min.css" rel="stylesheet" media="screen">
		<link href="../../resources/css/style.css" rel="stylesheet">
	</head>
<body class="top">
	<div class="logo pull-left">
		<small>葛叫兽后台管理系统</small>
	</div>
	<div class="login-info pull-right">
		<ul class="nav">
			<li>${today},${weekday}</li>
			<li>${adminEntity.adminname}[${role}]</li>
			<li><a href="javascript:void(0)" target="_blank">网站首页</a></li>
			<li><a href="#" onclick="queit()">退出</a></li>
			<li></li>
		</ul>
	</div>	
<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
<script src="../../resources/js/bootstrap.min.js"></script>
<script type="text/javascript">
    function queit(){
    	$.ajax({url:"${webRoot}admin/exitSystem.do",
		   type:"get",
		   cache:"false",
		   error : function() {
			   alert("系统繁忙，请稍后再试！");
			},
		   success:function(msg){
			   window.parent.location.href='${webRoot}admin/web/login.do';
		   }
		});
    }
</script>
</body>
</html>
